<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<base href="<%=basePath%>">
<!-- head.jsp -->
<!-- 导入jQuery,bootstrap,jq-cookies -->
<script src="<%=basePath %>resources/jquery/jquery.js"></script>
<script src="<%=basePath %>resources/bootstrap/js/bootstrap.min.js"></script>
<link href="<%=basePath %>resources/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<link href="<%=basePath %>resources/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet"/>

<!-- js -->
<script type="text/javascript">
	basePath = '<%=basePath%>';
</script>